.container {
  min-height: 500px;
}

.body {
  width: 960px;
  margin: auto;
}

.david-table {

}

.david-table table {
  border-collapse: collapse;
  cursor: cell;
  z-index: 50;
}

.david-table td {
  border: 1px solid black;
  overflow-wrap: anywhere;
  vertical-align: middle;
  text-align: center;
  outline: none;
  color: #303133;
}

.bar-container {
  z-index: 100;
  position: relative;
}

.row-bar-container {
  height: 0;
}

.bar {
  top: 0;
  position: absolute;
  /*background: red;*/
  left: 0;
}

.col-bar {
  display: inline-block;
  cursor: col-resize;
  width: 3px;
  height: 50px;
}

.row-bar {
  display: inline-block;
  cursor: row-resize;
  height: 3px;
}

.col-bar-placeholder, .row-bar-placeholder {
  background: #18e0a3;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
}

.row-bar-placeholder {
  height: 1px;
  width: 100vw;
}

.col-bar-placeholder {
  width: 1px;
  height: 100vw;
}

.selecting-td {
  background: #79bbff;
}

.context-container {
  position: fixed;
  width: 150px;
  height: 20px;
  background: blueviolet;
  left: 0;
  top: 0;
}

/*下面是鼠标右键菜单的样式*/
.ms-right-shade {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  display: none;
  z-index: 9999999999;
}

.ms-right-wrap {
  list-style: none;
  position: fixed;
  top: 0;
  left: 0;
  padding: 5px 0;
  min-width: 80px;
  margin: 0;
  display: none;
  font-family: "微软雅黑";
  font-size: 14px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .15);
  box-sizing: border-box;
  border-radius: 4px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999999999999;
  user-select: none;
  white-space: nowrap;
}

.ms-item {
  height: 30px;
  line-height: 30px;
  text-align: left;
  cursor: pointer;
  padding: 0 20px;;

}

.ms-line{
  height: 1px;
  background-color: #999;
  margin: 3px;
}

.ms-item:hover {
  background-color: #343a40;
  color: #FFFFFF;
}

.ms-item i{
  min-width: 16px;
  display: inline-block;
}